const schoolRouter = [{
  path: 'personalInfo',
  name: 'school_personalInfo',
  redirect: 'personalInfo/managerInfo',
  component: () =>
      import(
        /* webpackChunkName: "schoolInfo" */
        '@main/routes/school/personalInfo'
      ),
  children: [{
    path: 'managerInfo',
    name: 'school_managerInfo',
    component: () =>
          import(
            /* webpackChunkName: "managerInfo" */
            '@main/components/managerInfo'
          )
  },
  {
    path: 'updateManagerInfo',
    name: 'school_updateManagerInfo',
    component: () =>
          import(
            /* webpackChunkName: "updateManagerInfo" */
            '@main/components/updateManagerInfo'
          )
  }
  ]
},
{
  path: 'studentInfo',
  name: 'school_managerStudentInfo',
  redirect: 'studentInfo/studentList',
  component: () =>
      import(
        /* webpackChunkName: "managerStudenInfo" */
        '@main/routes/school/managerStudentInfo'
      ),
  children: [{
    path: 'studentList',
    name: 'school_studentList',
    component: () =>
          import(
            /* webpackChunkName: "managerInfo" */
            '@main/components/systemIndex'
          )
  },
  {
    path: 'studentDetailInfo',
    name: 'school_studentDetailInfo',
    component: () =>
          import(
            /* webpackChunkName: "updateManagerInfo" */
            '@main/routes/student/personalInfo'
          )
  }, {
    path: 'studentFamilyDetailInfo',
    name: 'school_studentFamilyDetailInfo',
    component: () =>
          import(
            /* webpackChunkName: "updateManagerInfo" */
            '@/pages/main/components/familyInfo'
          )
  }
  ]
},
{
  path: 'historyInfo',
  name: 'school_historyInfo',
  redirect: 'historyInfo/historyStudents',
  component: () =>
      import(
        /* webpackChunkName: "historyInfo" */
        '@main/routes/school/historyInfo'
      ),
  children: [{
    path: 'historyStudents',
    name: 'school_historyStudents',
    component: () =>
          import(
            /* webpackChunkName: "historyStudents" */
            '@main/routes/historyStudents/historyStudents'
          )
  },
  {
    path: 'historyDetailInfo',
    name: 'school_historyDetailInfo',
    component: () =>
          import(
            /* webpackChunkName: "historyDetailInfo" */
            '@main/routes/historyStudents/historyDetailInfo'
          )
  }
  ]
},
{
  path: 'school-modify-situation',
  name: 'school-modify-situation',
  component: () =>
      import(
        /* webpackChunkName: "updateManagerInfo" */
        '@main/routes/school/school-modify-situation'
      )
},
{
  path: 'school-modify-situation/college-modify-situation',
  name: 'college-modify-situation',
  component: () =>
      import(
        /* webpackChunkName: "college-modify-situation" */
        '@main/routes/school/college-modify-situation'
      )
},
{
  path: 'school-modify-situation/college-modify-situation/class-modify-situation',
  name: 'class-modify-situation',
  component: () =>
      import(
        /* webpackChunkName: "class-modify-situation" */
        '@main/routes/school/class-modify-situation'
      )
}
]
export default schoolRouter
